package client;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class SendChatListener implements ActionListener {
	public void actionPerformed(ActionEvent e) {
		StartClient.chatOutput.append(
				"\n"+Player.name+" say to [all]: "
				+StartClient.chatInput.getText());
		StartClient.chatInput.setText("");
	}

}
